package com.cloudlead.commonData.query;

import static com.mysema.query.types.PathMetadataFactory.*;
import com.cloudlead.commonData.entity.EWebsiterecord;


import com.mysema.query.types.path.*;

import com.mysema.query.types.PathMetadata;
import javax.annotation.Generated;
import com.mysema.query.types.Path;

import com.mysema.query.sql.ColumnMetadata;
import java.sql.Types;

import com.mysema.query.sql.*;

import com.cloudlead.common.lang.annotation.Label;


/**
 * QWebsiterecord is a Querydsl query type for EWebsiterecord
 */
@Label("Websiterecord查询")
@Generated("com.cloudlead.utils.persistence.codegen.serializer.SimpleMetaDataSerializer")
public class QWebsiterecord extends RelationalPathBase<EWebsiterecord> {

    private static final long serialVersionUID = -27403613;

    public static final QWebsiterecord websiterecord = new QWebsiterecord("websiterecord");

    public class PrimaryKeys {

        public final PrimaryKey<EWebsiterecord> primary = createPrimaryKey(id);

    }

    public final StringPath area = createString("area");

    public final StringPath flag = createString("flag");

    public final StringPath id = createString("id");

    public final StringPath visitEndTime = createString("visitEndTime");

    public final StringPath visitorIp = createString("visitorIp");

    public final StringPath visitPageNum = createString("visitPageNum");

    public final StringPath visitStartTime = createString("visitStartTime");

    public final StringPath websiteRecord = createString("websiteRecord");

    public final PrimaryKeys pk = new PrimaryKeys();

    public QWebsiterecord(String variable) {
        super(EWebsiterecord.class, forVariable(variable), "null", "websiterecord");
        addMetadata();
    }

    public QWebsiterecord(String variable, String schema, String table) {
        super(EWebsiterecord.class, forVariable(variable), schema, table);
        addMetadata();
    }

    public QWebsiterecord(Path<? extends EWebsiterecord> path) {
        super(path.getType(), path.getMetadata(), "null", "websiterecord");
        addMetadata();
    }

    public QWebsiterecord(PathMetadata<?> metadata) {
        super(EWebsiterecord.class, metadata, "null", "websiterecord");
        addMetadata();
    }

    public void addMetadata() {
        addMetadata(area, ColumnMetadata.named("area").withIndex(4).ofType(Types.VARCHAR).withSize(45));
        addMetadata(flag, ColumnMetadata.named("flag").withIndex(8).ofType(Types.VARCHAR).withSize(8));
        addMetadata(id, ColumnMetadata.named("id").withIndex(1).ofType(Types.CHAR).withSize(24).notNull());
        addMetadata(visitEndTime, ColumnMetadata.named("visitEndTime").withIndex(6).ofType(Types.VARCHAR).withSize(45));
        addMetadata(visitorIp, ColumnMetadata.named("visitorIp").withIndex(3).ofType(Types.VARCHAR).withSize(45));
        addMetadata(visitPageNum, ColumnMetadata.named("visitPageNum").withIndex(7).ofType(Types.VARCHAR).withSize(45));
        addMetadata(visitStartTime, ColumnMetadata.named("visitStartTime").withIndex(5).ofType(Types.VARCHAR).withSize(45));
        addMetadata(websiteRecord, ColumnMetadata.named("WebsiteRecord").withIndex(2).ofType(Types.VARCHAR).withSize(45));
    }

}

